package org.example.pack1023.singleton;
//饿（勤）汉单例模式
public class Singleton01 {
    private static Singleton01 singleton01 = new Singleton01();
    private Singleton01(){}
    public static Singleton01 getInstance(){
        return singleton01;
    }
}
